package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户---分组对象 sys_user_dept
 * 
 * @author ruoyi
 * @date 2021-08-18
 */
public class SysUserDept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long userId;

    /** $column.columnComment */
    private Long deptId;

    private Integer communityId;

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public SysUserDept() {
    }

    public SysUserDept(Long userId, Long deptId, Integer communityId) {
        this.userId = userId;
        this.deptId = deptId;
        this.communityId = communityId;
    }

    @Override
    public String toString() {
        return "SysUserDept{" +
                "userId=" + userId +
                ", deptId=" + deptId +
                ", communityId=" + communityId +
                '}';
    }
}
